<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>View Researcher</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
    View Researcher: <br /><br />
  
    <stripes:form id="viewResearcher" action="/Researcher.action">
    <table id="researcherView" class="plainTable" border="1">
      <tr><td class="label">Name:</td><td>${actionBean.name}</td></tr>
      <tr><td class="label">Email:</td><td>${actionBean.email}</td></tr>
      <tr><td class="label">Organization:</td>
      <td>
          <stripes:link href="/Organization.action" event="view" target="main">
            <stripes:param name="name" value="${actionBean.organization}"/>${actionBean.organization}
          </stripes:link>
      </td></tr>
      <tr><td class="label">Picture Link:</td><td>${actionBean.pictureLink}</td></tr>
      <tr><td class="label">Bio Statement:</td><td>${actionBean.bioStatement}</td></tr>
    </table>
      <stripes:hidden name="name"/>
      <stripes:hidden name="email"/>
      <stripes:hidden name="organization"/>
      <stripes:hidden name="pictureLink"/>
      <stripes:hidden name="bioStatement"/>
      <stripes:submit value="Edit" name="edit"/>&nbsp;&nbsp;
      <stripes:submit value="Delete" name="delete"/>
    </stripes:form>
    
  </body>
</html>